﻿
using System.Windows.Forms;
using PerCiGal.WinForm.Controls;
using PerCiGal.Controls;

namespace PerCiGal.WinForm.Collections
{
    public partial class CollectionsManagerForm : Form
    {
        public CollectionsManagerForm()
        {
            InitializeComponent();
                
            var pf = new WaitForm();

            //pf.AutoProgressBar = true;

            pf.SetupAndShow(this, "Please Wait", false, false);

            System.Threading.Thread.Sleep(1000);

            pf.Finish();
        }

        private void ButtonCloseClick(object sender, System.EventArgs e)
        {
            EndOperationDelegate.Invoke(null);

            Close();
        }
    }
}
